<template>
	<view>
	
		<view class="classify">
			<view class="classify-l" @click="showdow">
				所有时间段
				<image src="../../static/images/arrow_down.png" mode=""></image>
			</view>
			<view class="classify-l">
				全部员工
				<image src="../../static/images/arrow_down.png" mode=""></image>
			</view>
			<view class="classify-l">
				全部订单
				<image src="../../static/images/arrow_down.png" mode=""></image>
			</view>
		</view>
		<!-- 下拉 -->
		<view :class="{ show: show }" class="combobox">
			<view class="show-li" @click="showtrue">
				今日数据
				<image src="../../static/slice/gou.png" mode="" :class="{ showtrue: showtru }"></image>
			</view>
			<view class="show-li">昨日数据</view>
			<view class="show-li">七日数据</view>
			<view class="show-li">30日数据</view>
		</view>
<view class="staff">
<view class="time">
	2020-03-19 13:42:17
</view>
<view class="record">
		<view class="record-o">
			员工
		</view>
		<view class="record-t blue">
			入库
		</view>
		<view class="record-th">
			1
		</view>
		<view class="record-f">
			<image src="../../static/images/arrow_right.png" mode=""></image>
		</view>
</view>
</view>
<view class="staff">
<view class="time">
	2020-03-19 13:42:17
</view>
<view class="record">
		<view class="record-o">
			员工
		</view>
		<view class="record-t black">
			出库
		</view>
		<view class="record-th">
			1
		</view>
		<view class="record-f">
			<image src="../../static/images/arrow_right.png" mode=""></image>
		</view>
</view>
</view>
<view class="staff">
<view class="time">
	2020-03-19 13:42:17
</view>
<view class="record">
		<view class="record-o">
			员工
		</view>
		<view class="record-t red">
			调整
		</view>
		<view class="record-th">
			1
		</view>
		<view class="record-f">
			<image src="../../static/images/arrow_right.png" mode=""></image>
		</view>
</view>
</view>

	</view>
</template>

<script>
import uniIcons from '@/components/uni-icons/uni-icons.vue';
export default {
	components: {
		uniIcons
	},
	data() {
		return {
			show: true,
			showtru: true,
	
		};
	},
	methods: {
		showdow() {
			if (this.show) {
				this.show = false;
			} else {
				this.show = true;
			}
		},

		showtrue() {
			if (this.showtru) {
				this.showtru = false;
			} else {
				this.showtru = true;
			}
		}
	}
};
</script>

<style lang="scss">
page {
	background-color: #f5f5f5;
}


.classify {
	display: flex;
	justify-content: space-around;
	font-size: 32rpx;
	font-family: PingFang SC;
	font-weight: 500;
	color: rgba(51, 51, 51, 1);
	background-color: #ffffff;
	height: 90rpx;
	line-height: 90rpx;
	margin-bottom: 20rpx;
	image {
		width: 17rpx;
		height: 10rpx;
		margin-left: 11rpx;
	}
}
.ima {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 227rpx;
	image {
		width: 370upx;
		height: 390upx;
	}
}

.combobox {
	width: 100%;
	background-color: #ffffff;
	position: fixed;
	font-size: 30rpx;
	font-family: PingFang SC;
	font-weight: 500;
	color: #333333;
	line-height: 48rpx;
	padding-left: 30rpx;
	z-index: 2;
	.show-li {
		height: 90rpx;
		line-height: 90rpx;
		border-bottom: 2rpx solid #eeeeee;
		image {
			width: 38rpx;
			height: 32rpx;
			margin: 50rpx;
			float: right;
		}
	}
}
.staff{
	height: 175rpx;
	width: 100%;
	background-color: #FFFFFF;
	padding: 32rpx;
	border-bottom: 2rpx solid #cccccc;
	.time{
		width:343rpx;
		height:25rpx;
		font-size:32rpx;
		font-family:PingFang SC;
		font-weight:500;
		color:rgba(102,102,102,1);
	}
	.record{
		height: 140rpx;
		line-height: 140rpx;
		display: flex;
		font-size:32rpx;
		font-family:PingFang SC;
		font-weight:500;
		.record-o{
			width: 50%;
		}
		.record-t{
			width: 30%;
		}
		.record-th{
			width: 10%;
		}
		.record-f{
		image{
			width: 17rpx;
			height: 33rpx;
			vertical-align: middle;
		}
		}
	}
}
.show {
	display: none;
}
.show-li:hover {
	color: #249af6;
}
.showtrue {
	display: none;
}

.f28 {
	font-size: 28rpx;
}
.blue{
	color:#0FC060;
}
.black{
	color:#00B2FF;
}
.red{
	color: #FA4F4F;
}
</style>
